package com.qzl.feiq.strategy;

import com.qzl.feiq.message.Message;
import io.netty.channel.Channel;

/**
 * 接收消息的策略
 */
public interface Receive{
    /**
     * 回复消息
     * @param channel
     * @param oldMessage 原始数据包
     */
    void receiveMsg(Channel channel, Message oldMessage);

}
